home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11246 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  765 b 

  1. Path: damon.irf.uni.dortmund.de!broth
  2. From: rothert@damon.irf.uni-dortmund.de (Bernd Rothert)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Watcom C++ pecularities
  5. Date: Wed, 13 Mar 96 10:01:31 GMT
  6. Organization: Institute of Robotics Research
  7. Message-ID: <4i66n8$l4q@damon.irf.uni-dortmund.de>
  8. References: <64cnnJdipZB@nana.franken.de>
  9. NNTP-Posting-Host: broth.irf
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <64cnnJdipZB@nana.franken.de>,
  13.    wolfgang@nana.franken.de (Wolfgang Thomas) wrote:
  14. >2.) The following structure definition within the private section
  15. >    of a class definition causes a compiler error "access to private
  16. >    member test::A is not allowed". Why?
  17.  
  18. Strange compiler behaviour - declaring "A a;" instead of "struct A a;" works!
  19.  
  20. Bernd
  21.